package com.smallstep.hystrix.entity;

import org.springframework.http.HttpMethod;

/**
 * @author 李俊
 */
public class FFPathPattern {
    private HttpMethod method;
    private String pattern;

    public FFPathPattern(HttpMethod method, String pattern) {
        this.method = method;
        this.pattern = pattern;
    }

    public HttpMethod getMethod() {
        return this.method;
    }

    public String getPattern() {
        return this.pattern;
    }

    public void setMethod(HttpMethod method) {
        this.method = method;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }
}
